#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QTcpSocket>
#include "game.h"
#include "sin.h"

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
  Q_OBJECT

public:

  void shenfu();
  explicit Widget(QWidget *parent = nullptr);
  ~Widget();

private:
  sin *sinwin=new sin;
  game *gamewin=new game;
  QTcpSocket *tcpSocket;

  Ui::Widget *ui;
};

#endif // WIDGET_H
